namespace DotNetNuke.Entities.Modules.Actions
{
    using DotNetNuke.Entities.Modules;
    using System;

    /// -----------------------------------------------------------------------------
    /// Project		: DotNetNuke
    /// Class		: ActionEventArgs
    /// 
    /// -----------------------------------------------------------------------------
    /// <summary>
    /// </summary>
    /// <remarks></remarks>
    /// <history>
    /// [Joe] 	10/26/2003	Created
    /// </history>
    /// -----------------------------------------------------------------------------
    public class ActionEventArgs : EventArgs
    {
        private ModuleAction _action;
        private ModuleInfo _moduleConfiguration;

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// </summary>
        /// <param name="Action"></param>
        /// <param name="ModuleConfiguration"></param>
        /// <remarks></remarks>
        /// <history>
        /// [Joe] 	10/26/2003	Created
        /// </history>
        /// -----------------------------------------------------------------------------
        public ActionEventArgs(ModuleAction Action, ModuleInfo ModuleConfiguration)
        {
            this._action = Action;
            this._moduleConfiguration = ModuleConfiguration;
        }

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// </summary>
        /// <value></value>
        /// <remarks></remarks>
        /// <history>
        /// [Joe] 	10/26/2003	Created
        /// </history>
        /// -----------------------------------------------------------------------------
        public ModuleAction Action
        {
            get
            {
                return this._action;
            }
        }

        /// -----------------------------------------------------------------------------
        /// <summary>
        /// </summary>
        /// <value></value>
        /// <remarks></remarks>
        /// <history>
        /// [jbrinkman] 	12/27/2003	Created
        /// </history>
        /// -----------------------------------------------------------------------------
        public ModuleInfo ModuleConfiguration
        {
            get
            {
                return this._moduleConfiguration;
            }
        }
    }
}

